import Cookies from 'js-cookie'

const TokenKey = 'vue_admin_template_token'
const Oneroless = '00000000'
export function getToken() {
  
  return sessionStorage.getItem(TokenKey)
}

export function setToken(token) {
  return sessionStorage.setItem(TokenKey, token)
}
export function setroless(roless) {
  return sessionStorage.setItem(Oneroless, roless)
  
}

export function getroless() {
  return sessionStorage.getItem(Oneroless)
 
}
export function removeToken() {
  return sessionStorage.removeItem(TokenKey)
  
}
